package bavaria.hightech.comparator;

import java.util.Comparator;
import bavaria.hightech.banking.Transaction;

public class ReasonComp implements Comparator<Transaction>{
	
	@Override
	public int compare(Transaction arg0, Transaction arg1) {
		
		return arg0.getReason().compareTo(arg1.getReason());
	}
}
